//
//  JLGtasksViewController.m
//  Estate
//
//  Created by wangdongdong on 16/9/29.
//  Copyright © 2016年 ttsx. All rights reserved.
//

#import "JLGtasksViewController.h"
#import "GJLDBViewController.h"
#import "GJLGJViewController.h"
#import "GJLLSViewController.h"
#import "WitnessSamplesViewController.h"
#import "JLYSViewController.h"

@interface JLGtasksViewController ()

// 待处理数据
@property (nonatomic, strong) NSMutableArray *dataArray;

@end

@implementation JLGtasksViewController

- (NSMutableArray *)dataArray {
    if (!_dataArray) {
        _dataArray = [NSMutableArray array];
    }
    return _dataArray;
}

- (void)viewDidLoad {
    // 跟进
    GJLGJViewController *jlgjCtr = [[GJLGJViewController alloc] init];
    // 督办
    GJLDBViewController *jldbCtr = [[GJLDBViewController alloc] init];
    // 见证取样
    WitnessSamplesViewController *jljzqyCtr = [[WitnessSamplesViewController alloc] init];
    // 历史
    GJLLSViewController *jllsCtr = [[GJLLSViewController alloc] init];
    // 验收
    JLYSViewController *jlys = [[JLYSViewController alloc] init];
    // 选择器数组
    self.headerSegmentArr = [[NSArray alloc]initWithObjects:@"跟进", @"督办", @"见证取样",@"验收",@"历史",nil];
    // 控制器数组
    self.VCArr = [[NSArray alloc] initWithObjects:jlgjCtr, jldbCtr, jljzqyCtr,jlys, jllsCtr, nil];
    
    [super viewDidLoad];
}


-(void)dealloc{
    [[NSNotificationCenter defaultCenter] removeObserver:self];
}


@end



